package com.example.haojiutao.exception;

import lombok.Getter;


/**
 * @Description: 自定义异常类
 * @Author: wang_meiying
 * @CreateTime: 2024/1/29 19:25
 */

public class HaoJiuTaoException extends RuntimeException{

    @Getter
    private String code;

    public HaoJiuTaoException(String code, String message){
        super(message);
        this.code = code;
    }
}
